<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  <title></title>
</head>

<body>
测试页面1<br><br>
<g:each in="${func}">
${it.name}<br>
</g:each>
<br>
选择排序：
<%
int[] a = [4, 2, 5, 6, 7, 9, 8, 10, 15, 3, 18, 20, 23, 50, 70, 60, 45, 56, 34, 33, 32 ,67];
for(i in 0..a.length-1)
		{
			for(j in 0..a.length-1)
			{
				int temp;
				if(a[i] > a[j])
				{
					temp = a[i];
					a[i] = a[j];
					a[j] = temp;
				}
			}
		}
		
for(i in 0..a.length-1)
{
	out.println(a[i]+" ");
}
%>
<br><br>

${str}<br><br>

<%for(i in 1..10000){%>
<g:if test="${i%2 == 0}">
偶数
</g:if>
<g:else>
奇数
</g:else>
<%}%>

</body>

<script language="javascript" defer>

</script>

</html>